import 'package:flutter/material.dart';
import 'package:oramemo/pages/setting/widgets/custom_app_bar.dart';

class GradientAppHead extends StatelessWidget {
  final String title;
  final Widget? actions;

  const GradientAppHead({super.key, required this.title, this.actions});

  @override
  Widget build(BuildContext context) {
    return Container(
        decoration: const BoxDecoration(
          gradient: LinearGradient(
            begin: Alignment.topLeft,
            end: Alignment.bottomRight,
            colors: [Color(0xFFA3CCFB), Color(0xFFB4F0E7)],
          ),
        ),
        child: SafeArea(child: CustomAppBar(title: title,actions: actions,)));
  }
}
